package com.jk.entity;

import java.io.Serializable;

public class Payment implements Serializable {
    /**
     * 账户id
     */
    private String accountId;
    /**
     * 支付类型
     */
    private Integer paymentType;
    /**
     * 账户余额
     */
    private double accountBalance;
    /**
     * 银行卡id
     */
    private Integer bankId;
    /**
     * 用户id（关联用户表）
     */
    private String userId;

    /**充值*/
    private double paymentInto;
    /**提现*/
    private double rollOut;

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public Integer getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(Integer paymentType) {
        this.paymentType = paymentType;
    }

    public double getAccountBalance() {
        return accountBalance;
    }

    public void setAccountBalance(double accountBalance) {
        this.accountBalance = accountBalance;
    }

    public Integer getBankId() {
        return bankId;
    }

    public void setBankId(Integer bankId) {
        this.bankId = bankId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public double getPaymentInto() {
        return paymentInto;
    }

    public void setPaymentInto(double paymentInto) {
        this.paymentInto = paymentInto;
    }

    public double getRollOut() {
        return rollOut;
    }

    public void setRollOut(double rollOut) {
        this.rollOut = rollOut;
    }

    @Override
    public String toString() {
        return "Payment{" +
                "accountId='" + accountId + '\'' +
                ", paymentType=" + paymentType +
                ", accountBalance=" + accountBalance +
                ", bankId=" + bankId +
                ", userId='" + userId + '\'' +
                ", paymentInto=" + paymentInto +
                ", rollOut=" + rollOut +
                '}';
    }
}
